// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.ProjectRelationDao;
import com.liuxinlong.modules.entity.ProjectRelation;
import com.liuxinlong.modules.mapper.ProjectRelationMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2024年3月12日
 */
@Service
public class ProjectRelationDaoImpl extends ServiceImpl<ProjectRelationMapper, ProjectRelation>
        implements ProjectRelationDao {

    @Override
    public List<ProjectRelation> pageProjectRelationList(Map<String, Object> queryParam) {
        return baseMapper.pageProjectRelationList(queryParam);
    }

    @Override
    public int getProjectRelationCount(Map<String, Object> queryParam) {
        return baseMapper.getProjectRelationCount(queryParam);
    }

    @Override
    public List<ProjectRelation> getProjectRelationList() {
        return baseMapper.getProjectRelationList();
    }

    @Override
    public ProjectRelation getProjectRelationById(String projectId) {
        return baseMapper.getProjectRelationById(projectId);
    }

    @Override
    public Map<String, Map<String, String>> getProjectRelationMap() {
        return baseMapper.getProjectRelationMap();
    }

}
